<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>添加留言</title>
    <meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0.maximum-scale=1.0,user-scalable=no" name="viewport">
    <link rel="stylesheet" href="css/reset.css">
    <link rel="stylesheet" href="css/index.css">
    <link rel="stylesheet" href="css/flexible.css">
    <script src="js/flexible.js"></script>
</head>
<body>
    <div class="common clearfix height38 title_back">
        <a href="#" class="lf color0 shopping_left postion">
            <img class="shopping_left_img" src="images/baileft.png">
            <span class="back">返回</span>
        </a>
        添加留言
    </div>
    <div class="message">
            <textarea id="orgAuditDesc" name="orgAuditDesc" placeholder="点击此处添加留言..."></textarea>
	        <p class="rf wordNumber">还可以输入<span id="text-count">100</span>字</p>
    </div>
    <div class="sumbit_message">
            提交
    </div>
</body>
<script src="js/jquery-3.3.1.min.js"></script>
<script type="text/javascript">
    $("#orgAuditDesc").on("input propertychange", function () {
        var $this = $(this),
                _val = $this.val(),
                count = "";
        if (_val.length > 100) {
            $this.val(_val.substring(0, 100));
        }
        count = 100 - $this.val().length;
        $("#text-count").text(count);
    });
    </script>
</html>